//
//  DatePickerView.h
//  benben
//
//  Created by wlm on 15-4-17.
//  Copyright (c) 2015年 xunao. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface DatePickerView : UIView

+(DatePickerView *)datePicker;


@property (nonatomic, strong) void(^completion)(NSDate *);
@property (nonatomic, strong) void(^canceled)(void);

-(void)setDatePickerMode:(UIDatePickerMode)datePickerMode;
-(void)setDate:(NSDate *)date;
-(void)showPicker;
-(void)dismiss;

@end
